﻿namespace Ids4.Api.Models.Vos.Admin.Account
{
    /// <summary>
    /// LoggedOutVo
    /// </summary>
    public class LoggedOutVo
    {
        /// <summary>
        /// LogoutId
        /// </summary>
        public string LogoutId { get; set; } = string.Empty;
        /// <summary>
        /// 退出地址
        /// </summary>
        public string PostLogoutRedirectUri { get; set; } = string.Empty;
        /// <summary>
        /// ClientName
        /// </summary>
        public string ClientName { get; set; } = string.Empty;
        public string SignOutIframeUrl { get; set; } = string.Empty;
        public bool AutomaticRedirectAfterSignOut { get; set; }
        public bool TriggerExternalSignout => ExternalAuthenticationScheme != null;
        public string ExternalAuthenticationScheme { get; set; } = string.Empty;
    }
}
